package org.jeecg.modules.assets.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.jeecg.modules.assets.dto.OptionPreliminaryAssetsItemDTO;
import org.jeecg.modules.assets.entity.AssetsItem;
import org.jeecg.modules.assets.entity.AssetsPreliminaryResults;
import org.jeecg.modules.assets.entity.AssetsPreliminaryResultsItem;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * @Description: 初盘结果管理
 * @Author: jeecg-boot
 * @Date:   2023-12-12
 * @Version: V1.0
 */
public interface IAssetsPreliminaryResultsItemService extends IService<AssetsPreliminaryResultsItem> {

    Page<AssetsPreliminaryResultsItem> getAssetsItem(Page page, String realname, String  unionId,
                                                     String inventoryStatus,
                                                     Integer preliminaryStatus,
                                                     String company, Integer applyId,
                                                     String assetsName

    );

    int getHaveNum(String realname, String uniqueId,String company);

    int getHaveNumDept(Integer id);

    void updateAssetsList(List<AssetsPreliminaryResults> list);

    AssetsPreliminaryResultsItem getPrinallItemByCodeAndUser(OptionPreliminaryAssetsItemDTO optionPreliminaryAssetsItem);
}
